package com.love.marriage.offlineServiceProvider.service;

import com.love.marriage.offlineServiceProvider.vo.OfflineServiceProviderVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.offlineServiceProvider.entity.OfflineServiceProvider;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 线下服务商表 服务类
 * author: alex
 * createDate: 2024-12-08 12:08:27
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface OfflineServiceProviderService extends IService<OfflineServiceProvider> {

    Page<OfflineServiceProviderVo> getPage(Long pageNum, Long pageSize, OfflineServiceProviderVo offlineServiceProviderVo);

    OfflineServiceProviderVo queryOfflineServiceProvider(Long id);

    OfflineServiceProviderVo queryOfflineServiceProviderByUserId(Long userId, String type);

    OfflineServiceProviderVo addOfflineServiceProvider(OfflineServiceProviderVo offlineServiceProviderVo);

    OfflineServiceProviderVo addInfo(OfflineServiceProviderVo offlineServiceProviderVo);

    OfflineServiceProviderVo addOrUpdateInfo(OfflineServiceProviderVo offlineServiceProviderVo);

    OfflineServiceProviderVo updateOfflineServiceProvider(OfflineServiceProviderVo offlineServiceProviderVo);

    Boolean deleteOfflineServiceProvider(String ids);

    // 审批现在服务商
    Boolean approveOfflineServiceProvider(Long id, Integer status);
}
